//
// Created by HQF on 2024/8/9.
//

#ifndef SWMEDIAPLAYERDEMO_FFMPEG_H
#define SWMEDIAPLAYERDEMO_FFMPEG_H

#include <string>

bool createEncoder(int width, int height, int fps, int bitrate);
bool onOutputBufferAvailable(char *buffer, int length, long pts, int flags);

bool createDecoder(std::string file);

#endif //SWMEDIAPLAYERDEMO_FFMPEG_H
